package com.ateam.dao;

import java.util.List;

import com.ateam.pojo.Groups;

/** 
* @author WuYuan
* 
*/
public interface GroupsDao {
	public int addGroup(Groups group)throws Exception;
	public int addGroupLeader(int userid, int groupid)throws Exception;
	public List<Groups> getGroupsByUser(int userid)throws Exception;
	public Groups getGroupByGroupid(int groupid)throws Exception;
}
